<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
        let person=new Object()
            person.name='lihua'
            person.age='18'
            person.eyecolor='blue'
            console.log(person)
        let persons={
            'name':'lihua',
            'age':'18',
            'eyecolor':'blue'
        }
            console.log(persons)
        //循环遍历对象
        for(x in person){
            console.log(person[x])
        }
        //peyson<=>this
        // get.function(){
        //     console.log(this.name)
        // }
    </script>
</body>
</html>